home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 April / Gamestar_61_2004-04_dvdb.iso / DVDStar / Editace / hltp.exe / {app} / Applications / MilkShape 3D / msYafray.txt < prev    next >
Text File  |  2003-10-22  |  2KB  |  44 lines

  1. This is very early stages thus far...
  2.  
  3. Take a look at test.ms3d (included) for a better idea.
  4.  
  5. You NEED to have yafray in c:/yafray/yafray.exe It is hard-coded for now... but this will allow it to automatically render it.
  6.  
  7. You can only use TGA and JPG files.
  8. The second material is not alpha but bump.
  9.  
  10. Add these joints to your desire, use the same name as a Material to control the lights (aka the numbers are joints and the letters are materials with same name):
  11. 1) Camera(<x>,<y>) - position of the camera, x and y are the resolution of the render
  12. 2) EndCamera - what the camera is looking at
  13. 3) SunLight<name> - position of the sunlight
  14.   a) Ambient controls color
  15.   b) Shininess + Transparency controls power
  16. 4) SoftLight<name> - position of the softlight
  17.   a) Ambient controls color
  18.   b) 2 * Shininess + Transparency controls power
  19. 5) SpotLight<name> - position of the spotlight
  20.   a) Ambient controls color
  21.   b) Diffuse controls fog color
  22.   c) 15 * Shininess + 4 * Transparency controls power
  23. 6) EndSpotLight<name> - what SpotLight<name> is looking at
  24.  
  25. Add these two Materials if you wish:
  26. 1) HemiLight - pointless light
  27.   a) Ambient controls color
  28.   b) 2 + Shininess controls samples
  29.   c) 10 * Transparency controls power
  30. 2) background - the overall background
  31.   a) Ambient controls the color
  32.   b) Add a picture for a background picture (read the YafRay doc)
  33.  
  34. Rendering defaults to 300 by 300.
  35.  
  36. You can add more than one type of light just make sure to give some them some name. Ex:
  37. SunLight_Overhead
  38.  
  39. Eventually a GUI will be around to change all the necessary values. It does get all the material info from MS3D. If you want to change the values then open up the xml file, edit, save, then drag-and-drop onto yafray.exe to render again. Goto
  40. http://www.coala.uniovi.es/~jandro/noname/
  41. for details.
  42.  
  43.  
  44. -- mijacs